package com.qdxwx.data.mapper.cash;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.cash.CashApply;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface CashApplyMapper {

    int insertCashApply(CashApply cashApply);

    int updateCashApply(CashApply cashApply);

    CashApply selectById(int id);

    List<CashApply> selectList(@Param("e") CashApply query, @Param("page") PageRequest page);

    int selectCount(@Param("e") CashApply query);

    int updateCombine(long userId1, long userId2);
}
